package com.chenglu.android.mine.bean;


import java.util.List;

/**
 * @author: lyj
 * @Created: by Copyright 2023 3 Guangzhou Hongma Technology Co., Ltd. All rights reserved.
 * @Description：城市地址
 */
public class AddressTreeBean {

    /**
     * code : 200
     * data : [{"children":[{"children":[{"content":"","description":"","hasChildren":false,"id":"110101","key":"110101","parentId":"1101","title":"东城区","value":"110101"},{"content":"","description":"","hasChildren":false,"id":"110102","key":"110102","parentId":"1101","title":"西城区","value":"110102"},{"content":"","description":"","hasChildren":false,"id":"110105","key":"110105","parentId":"1101","title":"朝阳区","value":"110105"},{"content":"","description":"","hasChildren":false,"id":"110106","key":"110106","parentId":"1101","title":"丰台区","value":"110106"},{"content":"","description":"","hasChildren":false,"id":"110107","key":"110107","parentId":"1101","title":"石景山区","value":"110107"},{"content":"","description":"","hasChildren":false,"id":"110108","key":"110108","parentId":"1101","title":"海淀区","value":"110108"},{"content":"","description":"","hasChildren":false,"id":"110109","key":"110109","parentId":"1101","title":"门头沟区","value":"110109"},{"content":"","description":"","hasChildren":false,"id":"110111","key":"110111","parentId":"1101","title":"房山区","value":"110111"},{"content":"","description":"","hasChildren":false,"id":"110112","key":"110112","parentId":"1101","title":"通州区","value":"110112"},{"content":"","description":"","hasChildren":false,"id":"110113","key":"110113","parentId":"1101","title":"顺义区","value":"110113"},{"content":"","description":"","hasChildren":false,"id":"110114","key":"110114","parentId":"1101","title":"昌平区","value":"110114"},{"content":"","description":"","hasChildren":false,"id":"110115","key":"110115","parentId":"1101","title":"大兴区","value":"110115"},{"content":"","description":"","hasChildren":false,"id":"110116","key":"110116","parentId":"1101","title":"怀柔区","value":"110116"},{"content":"","description":"","hasChildren":false,"id":"110117","key":"110117","parentId":"1101","title":"平谷区","value":"110117"},{"content":"","description":"","hasChildren":false,"id":"110118","key":"110118","parentId":"1101","title":"密云区","value":"110118"},{"content":"","description":"","hasChildren":false,"id":"110119","key":"110119","parentId":"1101","title":"延庆区","value":"110119"}],"content":"","description":"","hasChildren":true,"id":"1101","key":"1101","parentId":"11","title":"北京市","value":"1101"}],"content":"","description":"","hasChildren":true,"id":"11","key":"11","parentId":"0","title":"北京市","value":"11"}]
     * msg : 操作成功
     * success : true
     */

    private int code;
    private String msg;
    private boolean success;
    private List<DataBean> data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * children : [{"children":[{"content":"","description":"","hasChildren":false,"id":"110101","key":"110101","parentId":"1101","title":"东城区","value":"110101"},{"content":"","description":"","hasChildren":false,"id":"110102","key":"110102","parentId":"1101","title":"西城区","value":"110102"},{"content":"","description":"","hasChildren":false,"id":"110105","key":"110105","parentId":"1101","title":"朝阳区","value":"110105"},{"content":"","description":"","hasChildren":false,"id":"110106","key":"110106","parentId":"1101","title":"丰台区","value":"110106"},{"content":"","description":"","hasChildren":false,"id":"110107","key":"110107","parentId":"1101","title":"石景山区","value":"110107"},{"content":"","description":"","hasChildren":false,"id":"110108","key":"110108","parentId":"1101","title":"海淀区","value":"110108"},{"content":"","description":"","hasChildren":false,"id":"110109","key":"110109","parentId":"1101","title":"门头沟区","value":"110109"},{"content":"","description":"","hasChildren":false,"id":"110111","key":"110111","parentId":"1101","title":"房山区","value":"110111"},{"content":"","description":"","hasChildren":false,"id":"110112","key":"110112","parentId":"1101","title":"通州区","value":"110112"},{"content":"","description":"","hasChildren":false,"id":"110113","key":"110113","parentId":"1101","title":"顺义区","value":"110113"},{"content":"","description":"","hasChildren":false,"id":"110114","key":"110114","parentId":"1101","title":"昌平区","value":"110114"},{"content":"","description":"","hasChildren":false,"id":"110115","key":"110115","parentId":"1101","title":"大兴区","value":"110115"},{"content":"","description":"","hasChildren":false,"id":"110116","key":"110116","parentId":"1101","title":"怀柔区","value":"110116"},{"content":"","description":"","hasChildren":false,"id":"110117","key":"110117","parentId":"1101","title":"平谷区","value":"110117"},{"content":"","description":"","hasChildren":false,"id":"110118","key":"110118","parentId":"1101","title":"密云区","value":"110118"},{"content":"","description":"","hasChildren":false,"id":"110119","key":"110119","parentId":"1101","title":"延庆区","value":"110119"}],"content":"","description":"","hasChildren":true,"id":"1101","key":"1101","parentId":"11","title":"北京市","value":"1101"}]
         * content :
         * description :
         * hasChildren : true
         * id : 11
         * key : 11
         * parentId : 0
         * title : 北京市
         * value : 11
         */

        private String content;
        private String description;
        private boolean hasChildren;
        private String id;
        private String key;
        private String parentId;
        private String title;
        private String value;
        private List<ChildrenBeanX> children;

        public String getContent() {
            return content;
        }

        public void setContent(String content) {
            this.content = content;
        }

        public String getDescription() {
            return description;
        }

        public void setDescription(String description) {
            this.description = description;
        }

        public boolean isHasChildren() {
            return hasChildren;
        }

        public void setHasChildren(boolean hasChildren) {
            this.hasChildren = hasChildren;
        }

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getKey() {
            return key;
        }

        public void setKey(String key) {
            this.key = key;
        }

        public String getParentId() {
            return parentId;
        }

        public void setParentId(String parentId) {
            this.parentId = parentId;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public String getValue() {
            return value;
        }

        public void setValue(String value) {
            this.value = value;
        }

        public List<ChildrenBeanX> getChildren() {
            return children;
        }

        public void setChildren(List<ChildrenBeanX> children) {
            this.children = children;
        }

        public static class ChildrenBeanX {
            /**
             * children : [{"content":"","description":"","hasChildren":false,"id":"110101","key":"110101","parentId":"1101","title":"东城区","value":"110101"},{"content":"","description":"","hasChildren":false,"id":"110102","key":"110102","parentId":"1101","title":"西城区","value":"110102"},{"content":"","description":"","hasChildren":false,"id":"110105","key":"110105","parentId":"1101","title":"朝阳区","value":"110105"},{"content":"","description":"","hasChildren":false,"id":"110106","key":"110106","parentId":"1101","title":"丰台区","value":"110106"},{"content":"","description":"","hasChildren":false,"id":"110107","key":"110107","parentId":"1101","title":"石景山区","value":"110107"},{"content":"","description":"","hasChildren":false,"id":"110108","key":"110108","parentId":"1101","title":"海淀区","value":"110108"},{"content":"","description":"","hasChildren":false,"id":"110109","key":"110109","parentId":"1101","title":"门头沟区","value":"110109"},{"content":"","description":"","hasChildren":false,"id":"110111","key":"110111","parentId":"1101","title":"房山区","value":"110111"},{"content":"","description":"","hasChildren":false,"id":"110112","key":"110112","parentId":"1101","title":"通州区","value":"110112"},{"content":"","description":"","hasChildren":false,"id":"110113","key":"110113","parentId":"1101","title":"顺义区","value":"110113"},{"content":"","description":"","hasChildren":false,"id":"110114","key":"110114","parentId":"1101","title":"昌平区","value":"110114"},{"content":"","description":"","hasChildren":false,"id":"110115","key":"110115","parentId":"1101","title":"大兴区","value":"110115"},{"content":"","description":"","hasChildren":false,"id":"110116","key":"110116","parentId":"1101","title":"怀柔区","value":"110116"},{"content":"","description":"","hasChildren":false,"id":"110117","key":"110117","parentId":"1101","title":"平谷区","value":"110117"},{"content":"","description":"","hasChildren":false,"id":"110118","key":"110118","parentId":"1101","title":"密云区","value":"110118"},{"content":"","description":"","hasChildren":false,"id":"110119","key":"110119","parentId":"1101","title":"延庆区","value":"110119"}]
             * content :
             * description :
             * hasChildren : true
             * id : 1101
             * key : 1101
             * parentId : 11
             * title : 北京市
             * value : 1101
             */

            private String content;
            private String description;
            private boolean hasChildren;
            private String id;
            private String key;
            private String parentId;
            private String title;
            private String value;
            private List<ChildrenBean> children;

            public String getContent() {
                return content;
            }

            public void setContent(String content) {
                this.content = content;
            }

            public String getDescription() {
                return description;
            }

            public void setDescription(String description) {
                this.description = description;
            }

            public boolean isHasChildren() {
                return hasChildren;
            }

            public void setHasChildren(boolean hasChildren) {
                this.hasChildren = hasChildren;
            }

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getKey() {
                return key;
            }

            public void setKey(String key) {
                this.key = key;
            }

            public String getParentId() {
                return parentId;
            }

            public void setParentId(String parentId) {
                this.parentId = parentId;
            }

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }

            public String getValue() {
                return value;
            }

            public void setValue(String value) {
                this.value = value;
            }

            public List<ChildrenBean> getChildren() {
                return children;
            }

            public void setChildren(List<ChildrenBean> children) {
                this.children = children;
            }

            public static class ChildrenBean {
                /**
                 * content :
                 * description :
                 * hasChildren : false
                 * id : 110101
                 * key : 110101
                 * parentId : 1101
                 * title : 东城区
                 * value : 110101
                 */

                private String content;
                private String description;
                private boolean hasChildren;
                private String id;
                private String key;
                private String parentId;
                private String title;
                private String value;

                public String getContent() {
                    return content;
                }

                public void setContent(String content) {
                    this.content = content;
                }

                public String getDescription() {
                    return description;
                }

                public void setDescription(String description) {
                    this.description = description;
                }

                public boolean isHasChildren() {
                    return hasChildren;
                }

                public void setHasChildren(boolean hasChildren) {
                    this.hasChildren = hasChildren;
                }

                public String getId() {
                    return id;
                }

                public void setId(String id) {
                    this.id = id;
                }

                public String getKey() {
                    return key;
                }

                public void setKey(String key) {
                    this.key = key;
                }

                public String getParentId() {
                    return parentId;
                }

                public void setParentId(String parentId) {
                    this.parentId = parentId;
                }

                public String getTitle() {
                    return title;
                }

                public void setTitle(String title) {
                    this.title = title;
                }

                public String getValue() {
                    return value;
                }

                public void setValue(String value) {
                    this.value = value;
                }
            }
        }
    }
}
